package com.workingpub.commons.datasource;

import javax.sql.DataSource;

/**
 * 根据配置属性，动态创建数据源并注入到OSGi容器
 * 
 * @author taoping
 *
 */
public interface DataSourceGenerator {

	public static final String Default_Pool_Max_Size = "32";

	public static final String Default_Pool_Min_Size = "12";

	DataSource generate(ConfigProperties config);
}
